/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sml;

/**
 *
 * @author Jose Carlos Palma
 */
public class Ram {
    
    private int ram[];
    
    public static final int SIZE = 100;
    
    public Ram(){
        ram = new int[SIZE];
        for( int i = 0; i < ram.length; i++ ){
            ram[i] = 0;
        }
    }
    
    public int get(int indx){
        return ram[indx];
    }
    
    public void set(int indx, int value){
        ram[indx] = value;
    }
    
    
}
